﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AMS.PizzaDecoratorDemo
{
    public class FiveOffFriday : FlatDiscount
    {
        public FiveOffFriday(IPizza pizza)
            : base(pizza)
        { }

        protected override double SetBaseValue()
        {
            return 5d;  // flat $5 off
        }

        protected override string SetName()
        {
            return "Five Off Friday";
        }
    }
}
